﻿<?xml version="1.0" encoding="utf-8" ?>
<!--
Tests AltConvertColor.ConvertFromString the 2nd format
-->
<AltColorConverter>
  <Data>
    <Input>0, 0, 0</Input>
    <Expected>255, 0, 0, 0</Expected>
    <Result>1</Result>
  </Data>
  <Data>
    <Input>255, 255, 255</Input>
    <Expected>255, 255, 255, 255</Expected>
    <Result>1</Result>
  </Data>
  <Data>
    <Input>90, 180, 255</Input>
    <Expected>255, 90, 180, 255</Expected>
    <Result>1</Result>
  </Data>
  <Data>
    <Input>255, 180, 90</Input>
    <Expected>255, 255, 180, 90</Expected>
    <Result>1</Result>
  </Data>
  <Data>
    <Input>90, 180, 255</Input>
    <Expected>255, 90, 180, 255</Expected>
    <Result>1</Result>
  </Data>
  <Data>
    <Input>255, 255, a</Input>
    <Expected>255, 255, 255, 0</Expected>
    <Result>0</Result>
  </Data>
  <Data>
    <Input>300, 400, 500</Input>
    <Expected>255, 255, 255, 255</Expected>
    <Result>1</Result>
  </Data>
  <Data>
    <Input>1000, 2000, 3000</Input>
    <Expected>0, 0, 0, 0</Expected>
    <Result>1</Result>
  </Data>
  <Data>
    <Input>0%, 0%, 0%</Input>
    <Expected>255, 0, 0, 0</Expected>
    <Result>1</Result>
  </Data>
  <Data>
    <Input>100%, 100%, 100%</Input>
    <Expected>255, 255, 255, 255</Expected>
    <Result>1</Result>
  </Data>
  <Data>
    <Input>0, 0%, 0</Input>
    <Expected>255, 0, 0, 0</Expected>
    <Result>1</Result>
  </Data>
  <Data>
    <Input>50%, 50%, 50%</Input>
    <Expected>255, 127, 127, 127</Expected>
    <Result>1</Result>
  </Data>
</AltColorConverter>